/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fee.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

import javax.xml.crypto.Data;
import java.util.Date;

/**
 * 应付明细Entity
 * @author 李超辉
 * @version 2018-02-01
 */
public class CopeDetil extends DataEntity<CopeDetil> {
	
	private static final long serialVersionUID = 1L;
	private String bill;		// 运单号
	private Date date;   //起运日期
	private  String driver;//司机
	private String truck ; //车牌号
	private String number ; //装车件数
	private String weight;  //重量
	private String kdPayment;		// 货到付款
	private String loadingPayment;		// 装货付款
	private String receiptCalculate;		// 凭回执结算
	private String totalCost;		// 合同费用
	private String forwardingPrice;		// 租车协议
	private String rentingCost;		// 租车费用
	private String freight;		// 总运费
	private Cope cope;		// 应付 父类
	private String fhyp;//防护用品费
	private String zxf; //装卸费
	private String qt;//其它费用
	public String getQt() {
		return qt;
	}

	public void setQt(String qt) {
		this.qt = qt;
	}



	public String getFhyp() {
		return fhyp;
	}

	public void setFhyp(String fhyp) {
		this.fhyp = fhyp;
	}

	public String getZxf() {
		return zxf;
	}

	public void setZxf(String zxf) {
		this.zxf = zxf;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getDriver() {
		return driver;
	}

	public void setDriver(String driver) {
		this.driver = driver;
	}

	public String getTruck() {
		return truck;
	}

	public void setTruck(String truck) {
		this.truck = truck;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	public CopeDetil() {
		super();
	}

	public CopeDetil(String id){
		super(id);
	}

	public CopeDetil(Cope cope){
		this.cope = cope;
	}

	@ExcelField(title="运单号", align=2, sort=5)
	public String getBill() {
		return bill;
	}

	public void setBill(String bill) {
		this.bill = bill;
	}
	
	@ExcelField(title="货到付款", align=2, sort=6)
	public String getKdPayment() {
		return kdPayment;
	}

	public void setKdPayment(String kdPayment) {
		this.kdPayment = kdPayment;
	}
	
	@ExcelField(title="装货付款", align=2, sort=7)
	public String getLoadingPayment() {
		return loadingPayment;
	}

	public void setLoadingPayment(String loadingPayment) {
		this.loadingPayment = loadingPayment;
	}
	
	@ExcelField(title="凭回执结算", align=2, sort=8)
	public String getReceiptCalculate() {
		return receiptCalculate;
	}

	public void setReceiptCalculate(String receiptCalculate) {
		this.receiptCalculate = receiptCalculate;
	}
	
	@ExcelField(title="合同费用", align=2, sort=9)
	public String getTotalCost() {
		return totalCost;
	}

	public void setTotalCost(String totalCost) {
		this.totalCost = totalCost;
	}
	
	@ExcelField(title="租车协议", align=2, sort=10)
	public String getForwardingPrice() {
		return forwardingPrice;
	}

	public void setForwardingPrice(String forwardingPrice) {
		this.forwardingPrice = forwardingPrice;
	}
	
	@ExcelField(title="租车费用", align=2, sort=11)
	public String getRentingCost() {
		return rentingCost;
	}

	public void setRentingCost(String rentingCost) {
		this.rentingCost = rentingCost;
	}
	
	@ExcelField(title="总运费", align=2, sort=12)
	public String getFreight() {
		return freight;
	}

	public void setFreight(String freight) {
		this.freight = freight;
	}
	
	public Cope getCope() {
		return cope;
	}

	public void setCope(Cope cope) {
		this.cope = cope;
	}
	
}